import skRequest from '../request'

// 获取角色数据
export function getEntireRoles() {
  return skRequest.post({
    url: '/role/list'
  })
}

// 获取部门数据
export function getEntireDepartments() {
  return skRequest.post({
    url: '/department/list'
  })
}

// 获取菜单信息
export function getMenuData() {
  return skRequest.post({
    url: '/menu/list'
  })
}
